package com.aaa.user.dao;

import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * fileName:IntegrationDao
 * description:
 * author:lk
 * createTime:2020/1/10 14:04
 * version:1.0.0
 */
public interface IntegrationDao {

    /**
     * 根据会员id获取会员的积分记录列表
     * @param memberId
     * @return
     */
    @Select("select * from ums_integration_change_history where member_id = #{memberId}")
    List<Map> getIntegrationByMemberId(Long memberId);
}
